package com.miplus.ccrm.core.controller.vo.credit;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.miplus.ccrm.core.controller.vo.file.UploadResVo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class TaskCallSaveVo {
    /**
     * 催记ID
     */
    @NotNull
    private Integer tasknumber;

    /**
     * 对应案件ID
     */
    private Integer ficaseid;

    /**
     * 任务结果
     */
    @NotNull
    private String result;

    /**
     * 还款意愿
     */
    private String ptpstatus;

    /**
     * 承诺还款金额
     */
    private BigDecimal ptp;

    /**
     * 承诺还款时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date ptpdt;

    /**
     * 预约时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date appointdt;

    /**
     * 备注
     */
    private String resultdsc;

    private List<UploadResVo> taskFiles;

    private List<UploadResVo> recordFiles;
}
